#ifndef __REPORT_EDIT
#define __REPORT_EDIT

#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <Buttons.hpp>
#include <ComCtrls.hpp>
#include "TB97Ctls.hpp"

class TWaypointEditForm : public TForm {
  __published:
        TGroupBox *GroupBox1;
        TLabel *Label1;
        TEdit *edtName;
        TLabel *Label4;
        TComboBox *cbType;
        TToolbarButton97 *btnOk;
        TToolbarButton97 *btnCancel;
        TLabel *Label2;
        TEdit *edtAlt;
        TLabel *Label3;
        TEdit *edtLat;
        TLabel *Label5;
        TEdit *edtLon;
        void __fastcall btnOKClick(TObject *Sender);
        void __fastcall FormCreate(TObject *Sender);
  private:
    PGH615_Waypoint Waypoint;
  public:
    __fastcall TWaypointEditForm( TForm *parent, PGH615_Waypoint p );

    void RefreshCfg( void );
};

#endif
